package com.vhall.component.entity.vote.vo.console;

import com.vhall.component.framework.common.annotation.ParamName;
import com.vhall.component.plugin.common.annotation.CheckTimeInterval;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author longzhen.gong
 * @date 2021/7/7 14:50
 */
@Data
@CheckTimeInterval(startTime = "beginTime")
public class StatReqVO implements Serializable {

    private static final long serialVersionUID = -5603426392245985769L;

    @NotBlank(message = "roomId参数异常")
    @ParamName("room_id")
    private String roomId;

    private Integer page;

    @ParamName("page_size")
    private Integer pageSize;

    @ParamName("start_time")
    private String beginTime;

    @ParamName("end_time")
    private String endTime;

}
